Skip to content

async/await#13

Draft
vamsii777 wants to merge 1 commit into
Joannis:masterfrom
vamsii777:refactor-smtp-mailing-async-await
Draft

async/await#13
vamsii777 wants to merge 1 commit into
Joannis:masterfrom
vamsii777:refactor-smtp-mailing-async-await

Conversation

@vamsii777

Copy link
Copy Markdown

This pull request refactors the SMTP mailing functions to utilize async/await for improved concurrency and error handling. The changes include updating the sendMails and sendMail functions to be asynchronous and to use try await for handling potential errors.

Additionally, the sendMail function now internally utilizes the sendMails function with a single mail, providing a more consistent API. These updates enhance the efficiency and reliability of the mailing functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant